package com.example.lib5.search.test;

public class SeqSearchB {
    public static void main(String[] args) {
        int arr[] ={1,9,11,-1,34,89};


    }

    private static int seqSearch(int[] arr, int value) {
        int index=-1;
        for (int i = 0; i < arr.length; i++) {
            if (arr[i]==value){
                index=i;
                break;
            }
        }
        return index;
    }
}
